package pl.jdeveloper.derivato.web;

import org.apache.wicket.PageParameters;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.PropertyModel;

/**
 * @author zabian
 */
public class CoordInputPage extends WebPage {

	TextField[] coordinates;
	
	public CoordInputPage(PageParameters parameters) {
		super(parameters);
		
		coordinates = new TextField[parameters.getInt("number")];
		for (int i=0 ; i < coordinates.length ; i++){
//			coordinates[i] = new TextField["coordinates["+ i + "]", new PropertyModel[new Point]
		}
//		for (TextField coordinate : coordinates) 
		
//		for (TextField coordinate : coordinates) add(coordinate);
	}
	
}

